package com.zs.toolbox.web2j.common.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * Created by eric.zhang on 2018/6/22.
 */
@Data
@ApiModel
@AllArgsConstructor
@NoArgsConstructor
public class WtPageBodyModel<T>{
    @ApiModelProperty(value = "消息条数", example = "0")
    Long total;

    @ApiModelProperty(value = "当前分页号", example = "1")
    Long curPage;

    @ApiModelProperty(value = "页面数据", example = "")
    List<T> rows;
}
